using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsBomknifeTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Bomknife"; 

		public const string C_BOMKNIFEID = "BOMKNIFEID";
		public const string C_BOMID = "BOMID";
		public const string C_KNIFEID = "KNIFEID";
		public const string C_NUMS = "NUMS";
		public const string C_KNIFESTATUS = "KNIFESTATUS";
				
		public BsBomknifeTable()
		{
			_tableName ="Bs_Bomknife";
		}

		protected static BsBomknifeTable _current;

		public static BsBomknifeTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsBomknifeTable();

			_current.Add(C_BOMKNIFEID, new ColumnInfo(C_BOMKNIFEID, "", true, typeof(Decimal?)));
			_current.Add(C_BOMID, new ColumnInfo(C_BOMID, "", false, typeof(String)));
			_current.Add(C_KNIFEID, new ColumnInfo(C_KNIFEID, "", false, typeof(String)));
			_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));
			_current.Add(C_KNIFESTATUS, new ColumnInfo(C_KNIFESTATUS, "", false, typeof(String)));
						
		}

		public ColumnInfo BOMKNIFEID
		{
			get { return this[C_BOMKNIFEID];}
		}

		public ColumnInfo BOMID
		{
			get { return this[C_BOMID];}
		}

		public ColumnInfo KNIFEID
		{
			get { return this[C_KNIFEID];}
		}

		public ColumnInfo NUMS
		{
			get { return this[C_NUMS];}
		}

		public ColumnInfo KNIFESTATUS
		{
			get { return this[C_KNIFESTATUS];}
		}

		
	}
}


